//package com.amumu.drama.admin.controller;
//
//import com.amumu.drama.common.api.CommonResult;
//import com.amumu.drama.model.OmsCompanyAddress;
//import com.amumu.drama.admin.service.OmsCompanyAddressService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.v3.oas.annotations.tags.Tag;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import java.util.List;
//
///**
// * 收货地址管理Controller
// * Created by macro on 2018/10/18.
// */
//@Controller
//@Api(tags = "OmsCompanyAddressController")
//@Tag(name = "OmsCompanyAddressController", description = "收货地址管理")
//@RequestMapping("/companyAddress")
//public class OmsCompanyAddressController {
//    @Autowired
//    private OmsCompanyAddressService companyAddressService;
//
//    @ApiOperation("获取所有收货地址")
//    @RequestMapping(value = "/list", method = RequestMethod.GET)
//    @ResponseBody
//    public CommonResult<List<OmsCompanyAddress>> list() {
//        List<OmsCompanyAddress> companyAddressList = companyAddressService.list();
//        return CommonResult.success(companyAddressList);
//    }
//}
